<?php
/*
 * 车型库引擎管理
 * @package    auto
 * @author     Mark
 * @copyright  Copyright (c) 2013 ixdcw team
 * @version    $Id: cede10a606273ddda9efc3fd7c9a35dc03390347 $
 */
defined('IN_IXDCW') or exit('Access Denied');
class AutoCategoryEngine {

	public static function get($levelid = '', $key = '') {
		$_cache = AutoCategory::getCache(AutoCategory::TYPE_ENGINE);
		if ($levelid) {
			return $key ? $_cache[$levelid][$key] : $_cache[$levelid];
		}
		return $_cache;
	}
}